package cn.com.egova.permission.rx;

import android.app.Activity;
import android.os.Bundle;

import com.tbruyelle.rxpermissions.RxPermissions;

public class RXPermissionsActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        //不用触发,直接在某些初始化方法里(如onCreate)申请要使用的权限.
        initPermissions();


    }

    private void initPermissions(){
        RxPermissions rxPermissions = new RxPermissions(this);

    }
}
